// 查询千分制
module.exports = app=>{
    const {STRING,INTEGER} = app.Sequelize;
    const  Thousandone = app.model.define('thousandone',{
        project:{
            type:STRING,
            allowNull: false,
            comment:'所属项目'
        },
        class:{
            type:STRING,
            allowNull: false,
            comment:'所属班级'
        },
        name:{
            type:STRING,
            allowNull: false,
            comment:'名字'
        },
        number:{
            type:INTEGER,
            allowNull: false,
            comment:'分数'
        },
        additionnumber:{
            type:INTEGER,
            allowNull: false,
            comment:"附加分"
        }
    })
    return Thousandone
}